package org.example.schoolbus.service.impl;

import org.example.schoolbus.mapper.FeedBackUMapper;
import org.example.schoolbus.service.FeedBackUService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeedBackUServiceimpl implements FeedBackUService {
    @Autowired
    private FeedBackUMapper feedBackUserMapper;
    @Override
    public int FeedBackUser(String feedback_message,String userphone)
    {
        if(feedBackUserMapper.FeedBackUser(feedback_message,userphone) >0)
        {//提交信息成功
            return 1;
        }
        //提交信息失败
        return 0;
    }

}
